<!-- list -->
<ul class="nav">
    <li ng-class="{active:$state.includes('app.dashboard-v1')}" >
		<a  ui-sref="app.dashboard-v1">
			<i class="glyphicon glyphicon-stats icon text-primary-dker"></i>
			<span>首页</span>
		</a>
    </li>

	<li ng-class="{active:$state.includes('app.booking')}" has-authority="BOOKING">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa  fa-road icon"></i>
			<span>订票管理</span>
		</a>
		<ul class="nav nav-sub dk">
			<li ui-sref-active="active" has-authority="BOOKING_AGENCY">
				<a ui-sref="app.booking.agency">
					<span>代售点管理</span>
				</a>
			 </li>
			 <li ui-sref-active="active" has-authority="BOOKING_START">
				<a ui-sref="app.booking.start">
					<span>起点站点管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_TERMINAL">
				<a ui-sref="app.booking.terminal">
					<span>终点站点管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_SHIFT">
				<a ui-sref="app.booking.shift">
					<span>班次管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_ACCOUNT">
				<a ui-sref="app.booking.account">
					<span>统计对账</span>
				</a>
			</li>
			 <li ui-sref-active="active" has-authority="BOOKING_LIST">
				<a ui-sref="app.booking.order">
					<span>订单管理</span>
				</a>
			</li>
			 <li ui-sref-active="active" has-authority="BOOKING_PAYMENT">
				<a ui-sref="app.booking.payment">
					<span>支付管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_RETURN">
				<a ui-sref="app.booking.return">
					<span>退票管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_MODULE">
				<a ui-sref="app.booking.module">
					<span>订票系统配置</span>
				</a>
			</li>
		</ul>
	</li>
	<li ng-class="{active:$state.includes('app.agency')}" has-authority="AGENCY">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa fa-suitcase icon"></i>
			<span>代售业务</span>
		</a>
		<ul class="nav nav-sub dk">
			  <li ui-sref-active="active" has-authority="AGENCY_PASSENGER">
				<a ui-sref="app.agency.passenger">
					<span>代售用户列表</span>
				</a>
			 </li>
			  <li ui-sref-active="active" has-authority="AGENCY_STATICS">
				<a ui-sref="app.agency.statics">
					<span>代售业务管理</span>
				</a>
			 </li>
		</ul>
	</li>


	<li ng-class="{active:$state.includes('app.rent')}" has-authority="RENT">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa fa-car"></i>
			<span>城际约租</span>
		</a>
		<ul class="nav nav-sub dk">
			<li ui-sref-active="active" has-authority="RENT_ACCOUNT">
				<a ui-sref="app.rent.account">
					<span>统计对账</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.order" has-authority="RENT_ORDER">
					<span>订单管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.payment" has-authority="RENT_PAYMENT">
					<span>支付管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.return" has-authority="RENT_RETURN">
					<span>退票管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.vehicle" has-authority="RENT_VEHICLE">
					<span>车辆档案</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.city" has-authority="RENT_CITY">
					<span>城市管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.price" has-authority="RENT_PRICE">
					<span>定价模版</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.route" has-authority="RENT_ROUTE">
					<span>线路模版</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.location" has-authority="RENT_LOCATION">
					<span>推荐地点</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.tickets" has-authority="RENT_TICKETS">
					<span>约租票池</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.shift" has-authority="RENT_SHIFT">
					<span>发班计划</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.task" has-authority="RENT_TASK">
					<span>任务管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.restask" has-authority="RENT_RESOURCE">
					<span>缺车任务</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.duration" has-authority="RENT_DURATION">
					<span>服务时段</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.rent.module" has-authority="RENT_MODULE">
					<span>模块配置</span>
				</a>
			</li>
		</ul>
	</li>
		<li ng-class="{active:$state.includes('app.bus')}"  has-authority="BUS">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa fa-rocket"></i>
			<span>跨城巴士</span>
		</a>
		<ul class="nav nav-sub dk">
			<li ui-sref-active="active" has-authority="BUS_ACCOUNT">
				<a ui-sref="app.bus.account">
					<span>统计对账</span>
				</a>
			</li>
			 <li ui-sref-active="active" has-authority="BUS_ORDER">
				<a ui-sref="app.bus.order">
					<span>订单管理</span>
				</a>
			</li>
			 <li ui-sref-active="active" has-authority="BUS_PAYMENT">
				<a ui-sref="app.bus.payment">
					<span>支付管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_RETURN">
				<a ui-sref="app.bus.return">
					<span>退票管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_TASK">
				<a ui-sref="app.bus.task" >
					<span>任务管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_VEHICLE">
				<a ui-sref="app.bus.vehicle" >
					<span>车辆档案</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.bus.city" has-authority="BUS_CITY">
					<span>城市管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_STATION" >
				<a ui-sref="app.bus.station" >
					<span>站点档案</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_ROUTE">
				<a ui-sref="app.bus.route" >
					<span>线路档案</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_SHIFT_TEMPLATE">
				<a ui-sref="app.bus.shiftTemplate" >
					<span>班次档案</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_SHIFT">
				<a ui-sref="app.bus.shift" >
					<span>发班计划</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BUS_ACCOUNT">
				<a ui-sref="app.bus.module" >
					<span>模块配置</span>
				</a>
			</li>
		</ul>
	</li>
	<li ng-class="{active:$state.includes('app.system')}" has-authority="SYSTEM">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa fa-gear icon"></i>
			<span>系统管理</span>
		</a>
		<ul class="nav nav-sub dk">
            <li ui-sref-active="active" has-authority="SYSTEM_PASSENGER">
                <a ui-sref="app.system.passenger">
                    <span>会员管理</span>
                </a>
            </li>
			<li ui-sref-active="active" has-authority="SYSTEM_STAFF">
				<a ui-sref="app.system.staff">
					<span>人员管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_ROLE">
				<a ui-sref="app.system.role" >
					<span>角色管理</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_ADS">
				<a ui-sref="app.system.ads">
					<span>广告配置</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_LOGINLOG">
				<a ui-sref="app.system.loginlog">
					<span>登录日志</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_OPSLOG">
				<a ui-sref="app.system.opslog">
					<span>操作日志</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_CONFIG">
				<a ui-sref="app.system.config">
					<span>系统配置</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_NOTIFY">
				<a ui-sref="app.system.notify">
					<span>系统公告</span>
				</a>
			</li>
		    <li ui-sref-active="active" has-authority="SYSTEM_NOTIFY_ITEM">
				<a ui-sref="app.system.notifyItem">
					<span>通知消息配置</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="SYSTEM_API">
				<a ui-sref="app.system.api">
					<span>订票接口配置</span>
				</a>
			</li>
			<!--<li ui-sref-active="active" has-authority="SYSTEM_NOTIFY_TEMPLATE">
				<a ui-sref="app.system.notifyTemplate">
					<span>通知模版配置</span>
				</a>
			</li>-->
		</ul>
	</li>
    <li ng-class="{active:$state.includes('app.public')}" has-authority="BOOKING">
		<a href class="auto">
			<span class="pull-right text-muted">
				<i class="fa fa-fw fa-angle-right text"></i>
				<i class="fa fa-fw fa-angle-down text-active"></i>
			</span>
			<b class="label bg-success pull-right"></b>
			<i class="fa   fa-bars"></i>
			<span>通用设置</span>
		</a>
		<ul class="nav nav-sub dk">
			<li ui-sref-active="active" has-authority="RENT_ORGANIZATION,BUS_ORGANIZATION">
				<a ui-sref="app.public.organization">
					<span>运营单位</span>
				</a>
			</li>
			<li ui-sref-active="active" >
				<a ui-sref="app.public.driver" has-authority="SYSTEM_DRIVER">
					<span>司机管理</span>
				</a>
			</li>
			<li ui-sref-active="active" >
				<a ui-sref="app.public.insurance" has-authority="BOOKING_INSURANCE,RENT_INSURANCE,BUS_INSURANCE">
					<span>保险收费规则</span>
				</a>
			</li>
			<li ui-sref-active="active" >
				<a ui-sref="app.public.insuranceNav" has-authority="BOOKING_INSURANCE_NAV,RENT_INSURANCE_NAV,BUS_INSURANCE_NAV">
					<span>保险配置</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.public.rating" has-authority="BOOKING_RATING,RENT_RATING,BUS_RATING">
					<span>评价管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.public.complaint" has-authority="BOOKING_COPLAINT,RENT_COPLAINT,BUS_COPLAINT">
					<span>投诉管理</span>
				</a>
			</li>
			<li ui-sref-active="active">
				<a ui-sref="app.public.complaintIssue" has-authority="BOOKING_COPLAINT_ISSUE,RENT_COPLAINT_ISSUE,BUS_COPLAINT_ISSUE">
					<span>投诉项配置</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_SALE,RENT_SALE,BUS_SALE">
				<a ui-sref="app.public.sales">
					<span>促销活动配置</span>
				</a>
			</li>
			<li ui-sref-active="active" has-authority="BOOKING_SALE_RULE,RENT_SALE_RULE,BUS_SALE_RULE">
				<a ui-sref="app.public.salesRule">
					<span>活动规则配置</span>
				</a>
			</li>
		</ul>
	</li>
</ul>
<!-- / list -->
